package cn.gok.demo18.service;

import cn.gok.demo18.entity.User;

import java.util.List;

public interface UserService {
    public List<User> selectAllUser();
    public User selectByUser(int id);
    public int addUser(User user);
    public int updateUser(User user);
    public int deleteUser(int id);
    public String login(User user);
//    public int register(User user);
    public User selectByNameAndPassword(String name,String password);
}
